package com.yjht.online.arg.reslove;

import com.yjht.online.arg.ArgParam;
import com.yjht.online.arg.excption.ArgError;

import java.util.List;

public interface ArgResloveByKey {

    /**
     * 是否支持
     * @param key
     * @return
     */
    boolean support(String key);

    /**
     * 解析
     * @param argParam
     * @param value
     */
    void resolve(ArgParam argParam,String key, List<String> value) throws ArgError;

}
